using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models;
using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models.Attributes;
using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models.Attributes.DomainAttributes;
using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models.Enums;
using System.Collections.Generic;
using System.ComponentModel;

namespace Baci.ArcGIS._DataManagementTools._General
{
    /// <summary>
    /// <para>CopyMultiple</para>
    /// <para>Copies multiple datasets or tables.</para>
    /// <para>复制多个数据集或表。</para>
    /// </summary>    
    [DisplayName("CopyMultiple")]
    public class CopyMultiple : AbstractGPProcess
    {
        /// <summary>
        /// 无参构造
        /// </summary>
        public CopyMultiple()
        {

        }

        /// <summary>
        /// 有参构造
        /// </summary>
        /// <param name="_in_data">
        /// <para>Input Data</para>
        /// <para></para>
        /// <para></para>
        /// </param>
        /// <param name="_out_path">
        /// <para>Output Location</para>
        /// <para></para>
        /// <para></para>
        /// </param>
        /// <param name="_out_data_name">
        /// <para>Output Base Name</para>
        /// <para></para>
        /// <para></para>
        /// </param>
        public CopyMultiple(object _in_data, object _out_path, List<object> _out_data_name)
        {
            this._in_data = _in_data;
            this._out_path = _out_path;
            this._out_data_name = _out_data_name;
        }
        public override string ToolboxName => "Data Management Tools";

        public override string ToolName => "CopyMultiple";

        public override string CallName => "management.CopyMultiple";

        public override List<string> AcceptEnvironments => [];

        public override object[] ParameterInfo => [_in_data, _out_path, _out_data_name, _associated_data, _out_data];

        /// <summary>
        /// <para>Input Data</para>
        /// <para></para>
        /// <para></para>
        /// <para></para>
        /// </summary>
        [DisplayName("Input Data")]
        [Description("")]
        [Option(OptionTypeEnum.Must)]
        public object _in_data { get; set; }


        /// <summary>
        /// <para>Output Location</para>
        /// <para></para>
        /// <para></para>
        /// <para></para>
        /// </summary>
        [DisplayName("Output Location")]
        [Description("")]
        [Option(OptionTypeEnum.Must)]
        public object _out_path { get; set; }


        /// <summary>
        /// <para>Output Base Name</para>
        /// <para></para>
        /// <para></para>
        /// <para></para>
        /// </summary>
        [DisplayName("Output Base Name")]
        [Description("")]
        [Option(OptionTypeEnum.Must)]
        public List<object> _out_data_name { get; set; }


        /// <summary>
        /// <para>Secondary Target Names</para>
        /// <para></para>
        /// <para></para>
        /// <para></para>
        /// </summary>
        [DisplayName("Secondary Target Names")]
        [Description("")]
        [Option(OptionTypeEnum.optional)]
        public object _associated_data { get; set; } = null;


        /// <summary>
        /// <para>Output Data</para>
        /// <para></para>
        /// <para></para>
        /// <para></para>
        /// </summary>
        [DisplayName("Output Data")]
        [Description("")]
        [Option(OptionTypeEnum.derived)]
        public List<object> _out_data { get; set; }


        public CopyMultiple SetEnv()
        {
            base.SetEnv();
            return this;
        }

    }

}